package com.dragon.modules.yuegou.entity.merchant;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 咨询实体类<br>
 * 对应的表为：mer_activity_faq<br>
 * 
 * @author pbuilder generated
 * @date 2019-09-23 14:37:50
 * @company sgy
 * @version 2.0
 */
@TableName("mer_activity_faq")
@ApiModel(description = "咨询")
public class ActivityFaqEntity {

	protected String id;

    /** 商圈Id */
	@ApiModelProperty("商圈Id")
	protected String busdId;

    /** 标题 */
	@ApiModelProperty("标题")
	protected String title;

    /** 图片json 数组 */
	@ApiModelProperty("图片json 数组")
	protected String content;

    /** 排序 */
	@ApiModelProperty("排序")
	protected Integer sortNo;

    /** 对应的栏目id */
	@ApiModelProperty("对应的栏目id")
	protected String columnId;

    /** 创建人Id */
	@ApiModelProperty("创建人Id")
	protected String createdBy;

    /** 创建时间 */
	@ApiModelProperty("创建时间")
	protected LocalDateTime createdTime;

	/**
	 * 构造一个空咨询实体对象
	 */
	public ActivityFaqEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个咨询实体对象
	 * 
	 * @param other 其它对象
	 */
	public ActivityFaqEntity(ActivityFaqEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.title = other.title;
     	this.content = other.content;
     	this.sortNo = other.sortNo;
     	this.columnId = other.columnId;
     	this.createdBy = other.createdBy;
     	this.createdTime = other.createdTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈Id
	 * 
	 * @return busdId 商圈Id
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈Id
	 * 
	 * @param busdId 商圈Id
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取标题
	 * 
	 * @return title 标题
	 */
	public String getTitle() {
		return title;
	}
  	
	/**
	 * 设置标题
	 * 
	 * @param title 标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 获取图片json 数组
	 * 
	 * @return content 图片json 数组
	 */
	public String getContent() {
		return content;
	}
  	
	/**
	 * 设置图片json 数组
	 * 
	 * @param content 图片json 数组
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * 获取排序
	 * 
	 * @return sortNo 排序
	 */
	public Integer getSortNo() {
		return sortNo;
	}
  	
	/**
	 * 设置排序
	 * 
	 * @param sortNo 排序
	 */
	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	/**
	 * 获取对应的栏目id
	 * 
	 * @return columnId 对应的栏目id
	 */
	public String getColumnId() {
		return columnId;
	}
  	
	/**
	 * 设置对应的栏目id
	 * 
	 * @param columnId 对应的栏目id
	 */
	public void setColumnId(String columnId) {
		this.columnId = columnId;
	}

	/**
	 * 获取创建人Id
	 * 
	 * @return createdBy 创建人Id
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置创建人Id
	 * 
	 * @param createdBy 创建人Id
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取创建时间
	 * 
	 * @return createdTime 创建时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置创建时间
	 * 
	 * @param createdTime 创建时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

    public String toString() {
		return new StringBuilder().append("ActivityFaqEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",title=").append(title).
			append(",content=").append(content).
			append(",sortNo=").append(sortNo).
			append(",columnId=").append(columnId).
			append(",createdBy=").append(createdBy).
			append(",createdTime=").append(createdTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public ActivityFaqEntity copy() {
		return new ActivityFaqEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 商圈Id */
	public static final String COL_BUSD_ID = "busd_id";

    /** 标题 */
	public static final String COL_TITLE = "title";

    /** 图片json 数组 */
	public static final String COL_CONTENT = "content";

    /** 排序 */
	public static final String COL_SORT_NO = "sort_no";

    /** 对应的栏目id */
	public static final String COL_COLUMN_ID = "column_id";

    /** 创建人Id */
	public static final String COL_CREATED_BY = "created_by";

    /** 创建时间 */
	public static final String COL_CREATED_TIME = "created_time";
}
